
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<!doctype html>
<html>
<head>
    <meta charset='utf-8'>
    <title>图书馆登录页面</title>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/static/css/style.css">
</head>
<body>
<div class="box">
    <h2>Login</h2>
    <form method="post" action="${pageContext.request.contextPath}/login/user">
        <div class="inputBox">
            <input type="text" name="username" required="">
            <label>Username</label>
        </div>
        <div class="inputBox">
            <input type="password" name="password" required="" >
            <label>password</label>
        </div>
        <input type="submit" name="" value="Submit">&nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="${pageContext.request.contextPath}/Register/user"><input type="button" value="GoToRegister!" /></a>
        <p class="p1">${msg}</p>
    </form>

</div>

</body>
</html>